
[#include "single/layout/layout02/layout.ftl"/]
[@htmlHead]
<style type="text/css" rel="stylesheet">
    .row {
        margin-top: 30px;
    }
     .form-horizontal .control-label {
            text-align: right;
            margin-bottom: 0!important;
            padding-top: 7px!important;
        }
</style>
[/@htmlHead]

[@htmlBody]



<div class="row">

    <div class="col-xs-12">

        <form class="form-horizontal" action="${base}/user/view/update" method="post" id="editForm">
            <input type="hidden" name="id" value="${account.id}"/>


            <div class="form-group">
                <label class="col-xs-3  control-label">当前用户:</label>

                <div class="  col-xs-8 ">
                    <input value="${account.loginName}" class="form-control input-large" readonly/>
                </div>
            </div>
            <div id="editAlert" class="" style="min-width:550px"></div>
            <div class="form-group">
                <label class="col-xs-3  control-label">原密码:</label>

                <div class="col-xs-8 ">
                    <input name="password" type="password" class="form-control input-large"/>
                </div>
            </div>
            <div class="form-group">
                <label class="  col-xs-3 control-label ">新密码:</label>

                <div class="col-xs-8 ">
                    <input id="newPassword" name="newPassword" type="password" class="form-control input-large"/>
                </div>
            </div>

            <div class="form-group">
                <label class=" col-xs-3 control-label ">确认密码:</label>

                <div class=" col-xs-8 ">
                    <input name="confirmNewPassword" type="password" class="form-control input-large"/>
                </div>
            </div>

            <div class="form-group">
                <label class="col-xs-3 control-label "></label>

                <div class="col-xs-8 " >
                    <input type="button" class="btn btn-info btn-sm" value="确定" onclick="doSubmit()"/>

                </div>
            </div>
        </form>

    </div>

</div>

[/@htmlBody]

[@htmlFoot]
    [#include "common/validate.ftl"/]
<script src="${jpath}/assets/public/plugins/dialog/bootbox.js" type="text/javascript"></script>
<script type="text/javascript" src="${base}/plugins/single/js/module/personal/changePas.js"></script>


[/@htmlFoot]